import request from '@/utils/request'

// 查询语音文件夹列表
export function listVoice_folder(query) {
  return request({
    url: '/ora/voice_folder/list',
    method: 'get',
    params: query
  })
}

// 查询语音文件夹详细
export function getVoice_folder(id) {
  return request({
    url: '/ora/voice_folder/' + id,
    method: 'get'
  })
}

// 新增语音文件夹
export function addVoice_folder(data) {
  return request({
    url: '/ora/voice_folder',
    method: 'post',
    data: data
  })
}

// 修改语音文件夹
export function updateVoice_folder(data) {
  return request({
    url: '/ora/voice_folder',
    method: 'put',
    data: data
  })
}

// 删除语音文件夹
export function delVoice_folder(id) {
  return request({
    url: '/ora/voice_folder/' + id,
    method: 'delete'
  })
}
